import request from '@/utils/request'

export default {
  // 扫码下单
  pay: request.post('/merchant-order/create'),
  // 我的优惠券
  couponList: request.post('/member/coupon/list'),
  // 我的积分
  scoreList: request.post('/member/score/list'),
  // 根据金额查看  会员优惠卷和优惠活动
  getActivity: request.get('/member/get-activity'),
  // 根据金额获取可参加的活动
  getRechargeActivity: request.get('/member/recharge/get-activity'),
  // 获取会员详情
  getMemberDetail: request.get('/member/detail'),
  // 获取会员账单
  getMemberBill: request.post('/member/card/bill/list'),
  // 手机验证码
  getPhoneCode: request.post('/auth/phone-code'),
  // 充值活动列表
  getActivityList: request.get('/member/recharge/activity/list'),
  // 充值金额
  sendRecharge: request.post('/member/recharge')
}
